Resource URL: /platform/<<version=1>>/protocols/hdfs/proxyusers/<NAME>

    Overview: This resource applies the pattern of collections to HDFS
              proxyusers.

     Methods: GET, PUT, DELETE

********************************************************************************

Method GET: List all proxyusers.

       URL: GET /platform/<<version=1>>/protocols/hdfs/proxyusers/<NAME>

Query arguments:

GET response body schema:
{
  "type": "object", 
  "properties": {
    "proxyusers": {
      "items": {
        "type": "object", 
        "description": "This is hdfs impersonation information of a proxyuser", 
        "properties": {
          "id": {
            "required": true, 
            "type": "string", 
            "description": "The ID of the role."
          }, 
          "members": {
            "items": {
              "type": "object", 
              "description": "Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.", 
              "properties": {
                "type": {
                  "enum": [
                    "user", 
                    "group", 
                    "wellknown"
                  ], 
                  "type": "string", 
                  "description": "Specifies the type of persona, which must be combined with a name."
                }, 
                "id": {
                  "type": "string", 
                  "description": "Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'."
                }, 
                "name": {
                  "type": "string", 
                  "description": "Specifies the persona name, which must be combined with a type."
                }
              }
            }, 
            "required": true, 
            "type": "array", 
            "description": "Users or groups impersonated by proxyuser."
          }, 
          "name": {
            "required": true, 
            "type": "string", 
            "description": "The name of the proxyuser."
          }
        }
      }, 
      "type": "array"
    }, 
    "total": {
      "type": "integer", 
      "description": "Total number of items available."
    }, 
    "resume": {
      "type": [
        "string", 
        "null"
      ], 
      "description": "Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options)."
    }
  }
}

********************************************************************************

Method PUT: Create a new HDFS proxyuser.

       URL: PUT /platform/<<version=1>>/protocols/hdfs/proxyusers/<NAME>

There are no query arguments for this method.

PUT request body schema:
{
  "type": [
    "null", 
    "object"
  ], 
  "description": "Null or any empty JSON object.", 
  "properties": {}
}

PUT response body schema:
{
  "type": "object", 
  "properties": {
    "id": {
      "required": true, 
      "type": "string", 
      "description": "ID of created item that can be used to refer to item in the collection-item resource path."
    }
  }
}

********************************************************************************

Method DELETE: Delete a a HDFS proxyuser.

          URL: DELETE /platform/<<version=1>>/protocols/hdfs/proxyusers/<NAME>

There are no query arguments for this method.

There is no response body for this method.
